tests: make babl build on haiku
authorØyvind Kolås <pippin@gimp.org>
Thu, 14 Sep 2017 19:24:22 +0000 (21:24 +0200)
committerØyvind Kolås <pippin@gimp.org>
Thu, 14 Sep 2017 19:24:24 +0000 (21:24 +0200)
Using -lphtread instead of -pthread in Makefile.am fixes the build when using
gcc-x86 under haiku, figured out by schumaml.

tests/Makefile.am

index 4c3841fad1dccde8e885ddb6a11e3ba5cdf21c7f..ac46eb756a0f4c2226366498ad5c4104a048e824 100644 (file)
@@ -35,7 +35,7 @@ TESTS_ENVIRONMENT = LD_LIBRARY_PATH=$(top_builddir)/babl:$LD_LIBRARY_PATH GI_TYP
 
 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/babl
 if OS_UNIX
-AM_LDFLAGS  = -pthread
+AM_LDFLAGS  = -lpthread
 endif
 
 LDADD = $(top_builddir)/babl/libbabl-@BABL_API_VERSION@.la \